import java.util.Vector;

/**
 * @author Mabel Zhang
 */

public class samplePopulateSpots
{
  public static void sample (String[] args)
//  public static void sample (String[] args)
  {
    PopulateSpots populate = new PopulateSpots ();

    Vector<Spot> spotsVec = populate.getSpots();
    
    for (int i = 0; i < spotsVec.size(); i++)
    {
      Spot sp = spotsVec.get(i);
      
      int id = sp.getMmId();
      String st = sp.getStName();
      String from = sp.getStFrom();
      String to = sp.getStTo();
      
      boolean isavail = sp.isOpen();
      
      int userid = 1234;
      sp.occupy(userid);
      
      sp.free ();
      
      
    }
    
  }

}
